#!/usr/bin/env python
#coding:utf-8

#--------------------------------------Ding Ding Talk Alert config
ops_ding_talk_url="https://oapi.dingtalk.com/robot/send?access_token=b5ca9a148c8e899873e6c826263f1c272486a00750ed928a1c4d5a1ddc01f8bb"
#--DevOps
devops_ding_talk_url="https://oapi.dingtalk.com/robot/send?access_token=0f138a9b1ba5840b814335f8bd080a9848655386690307c000f0c2c085028204"

#----------------------------------------Init Server config
#--Release-server-ssh-key
set_release_key="/data/ops/config/authorized_keys"
#--product-hosts
set_pro_hosts="/data/ops/config/pro_etc.hosts"
#--test-hosts
set_test_hosts="/data/ops/config/test_etc.hosts"
#--install-pak
set_install_centos_pak='unzip ntpdate gcc-c++'
set_install_ubuntu_pak='zip ntpdate'

#---------------------------------------Api server config

#--Funtown-Project-dir
set_project_dirname="/data/funtown/"
#--Project update backup dir
set_project_backup_dir="/data/ops/backup/php_app/"
#--FuntownApi-name
set_funtownapi_name="/data/funtown/testapi"
#--php-setup-pak
set_php_setup="/data/ops/setup/funtown_php5"
#set_php_setup="/data/ops/setup/funtown_php7"
set_api_log_dir="/usr/local/apache/logs/"


#--------------------------------------Update OfficealSite config
#--上传路径
set_www_updir = '/data/ops/devops/upload_release/www/'
#--允许上传的文件类型
set_flask_upallow = set(['txt', 'png', 'jpg', 'jpeg', 'gif','js','css','html','zip'])
#--官网目录
set_www_dir = '/data/funtown/www'
#--OfficialWebsite-baseServer
set_www_base_server='10.9.23.61'
#--官网项目名，服务器分组名
set_www_group='www'
set_www_name='www'
#--web server 备份保留时间/天
set_www_back_loop_day=8
#--web 日志目录
set_web_log_dir="/var/log/nginx/"

